package www.xudan.android_ffmpeg.videoplayer.model;

import java.util.Map;

public class VideoModel {
    public String src = "";
    public String definitionName = "";
    public Map<String, String> headers;//TODO header功能 后期实现
    public boolean autoPlay = false; // 设置播放源后自动播放
    public boolean playFromLastposition = true;//从上一次释放的位置播放
    public boolean autoPlayWithLastPlayer = false;//设置播放源后自动和上一个视频对比 如果是一个源则继续播放 优先级比autoPlay高

    public VideoModel(String src, String definitionName) {
        this.src = src;
        this.definitionName = definitionName;
    }

    public VideoModel(VideoModel videoModel) {
        this.src = videoModel.src;
        this.definitionName = videoModel.definitionName;
    }
}
